<template>
	<div class="six">
		{{na}}---{{nnnb}}---{{doarra}}
	  <button @click="add">点击按钮</button>
	</div>
</template>


<script>

import {mapState,mapGetters,mapMutations} from "vuex"

export default {
  name: 'Six',
  data(){
	  return{
	
	  }
  },
  computed:{
	...mapState("a",["na"]),
	...mapState("b",{
		nnnb:"nb"
	}),
	...mapGetters("a",["doarra"]) 
  },
  methods:{
	...mapMutations("b",["add"])
  }
}
</script>

<style>
</style>